package com.lenovo.lcdm.dcm.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * {@code description}
 *
 * @author nlqiong
 * {@code datetime} 2024/9/10 11:34
 **/
@Data
public class DcmCategoryCharacteristicMappingKafkaDto {


    private String trigger;
    private String sendTimestamp;

    private String triggerNumber;

    private String updateTimestamp;
    private String dataType;

    private List<DcmCategoryCharacteristicMappingKafkaDto.DcmBusinessConfigurationCategoryC> data;

    @Data
    public static class DcmBusinessConfigurationCategoryC {
        private Long id;

        @JsonProperty("productSegment")
        private String nbDt;

        private String characteristic;

        private String category;
    }

}
